home *** CD-ROM | disk | FTP | other *** search
/ Mac Magazin/MacEasy 8 / Mac Magazin and MacEasy Magazine CD - Issue 08.iso / Sharewarebibliothek / Updater⁄Infos / Frontier 2.0 => 2.0.1 Upgrader / Install Files / DocServer Docs / == < prev    next >
Text File  |  1993-02-25  |  761b  |  21 lines

  1.  
  2. Verb    ==
  3. Syntax    expression1 == expression2
  4. expression1 equals expression2
  5. Action    The equality operator yields the boolean value true if the value of expression1 and the value of expression2 are the same.
  6. Examples    file.type ("myFile") equals 'TEXT'
  7.     » true
  8. This expression evaluates to true if file.type returns ‘TEXT’ as its result.
  9.  
  10. 27 == "27"
  11.     » true
  12. When coerced to be of the same type, the two representations of the number 27 are equal, and the result of the operation is true.
  13. Notes    • There is no difference between the two forms, == and equals.
  14. • UserTalk employs automatic type coercion when evaluating arithmetic and comparative operations; the two expressions need not be of the same type for their values to be “equal.”
  15. See Also    >
  16. <
  17. >=
  18. <=
  19. =
  20.